package com.xiaoshuidi.cloud.module.finance.controller.app.finance.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Schema(description = "租客 APP - 账户提现 Request VO")
@EqualsAndHashCode
@Data
public class AppFinanceAccountWithdrawReqVO {
    @Schema(description = "账户id")
    @NotEmpty(message = "账户id不能为空")
    private String custId;
    @Schema(description = "提现金额")
    @NotNull(message = "提现金额")
    @DecimalMin(value = "0.01", message = "最小提现金额0.01元")
    private BigDecimal amount;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "收款人")
    private String payeeName;
    @Schema(description = "收款方手机号")
    private String payeeMobile;
    @Schema(description = "收款银行名")
    private String payeeBank;
    @Schema(description = "收款银行支行名(金蝶维护)")
    private String payeeBankBranch;
    @Schema(description = "收款银行行号(金蝶维护)")
    private String payeeBankCode;
    @Schema(description = "收款银行所在省(金蝶维护)")
    private String payeeBankProvince;
    @Schema(description = "收款银行所在市")
    private String payeeBankCity;
    @Schema(description = "收款账号")
    private String payeeBankAccount;

}
